package com.tamtamy.jtta.data;

import java.util.ArrayList;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;

public class GroupDetails extends Group {

	public ArrayList<String> contents;
	public ArrayList<String> users;

	public GroupDetails() {
		super();
		contents = null;
		users = null;
	}

	public GroupDetails(long id, String name, String description,String creator, Date created, String network, long contentCounter, long userCounter, ArrayList<String> contents, ArrayList<String> users) {
		super(id, name, description, creator, created, network, contentCounter,	userCounter);
		this.contents = contents;
		this.users = users;
	}
	
	public ArrayList<String> getContentID() {
		return contents;
	}

	public void setContentID(ArrayList<String> contentID) {
		this.contents = contentID;
	}

	public ArrayList<String> getUsers() {
		return users;
	}

	public void setUsers(ArrayList<String> users) {
		this.users = users;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
